Q3Point2D_Vector2D_Add
You can use theQ3Point2D_Vector2D_Add
function to add a two-dimensional vector to a two-dimensional point.
TQ3Point2D *Q3Point2D_Vector2D_Add ( const TQ3Point2D *point2D, const TQ3Vector2D *vector2D, TQ3Point2D *result);
point2D
- A two-dimensional point.
vector2D
- A two-dimensional vector.
result
- On exit, a two-dimensional point that is the result of adding
vector2D
topoint2D
.DESCRIPTION
TheQ3Point2D_Vector2D_Add
function returns, as its function result and in theresult
parameter, the two-dimensional point that is the result of adding the vectorvector2D
to the pointpoint2D
.